/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package foalvleditor.gameobjects;

import java.util.ArrayList;

/**
 *
 * @author fish
 */
public class GameEvent {

    public enum EventType{
        SWITCH("Switch"), CHAIN("Chain");
        
        public final String displayableName;
        
        EventType(){
            displayableName=null;}
        
        EventType(String name){
            displayableName=name;
        }
    };

    private EventType type;
    private AbstractGameObject firstObject;
    private ArrayList<AbstractGameObject> affectedObjects;

    public GameEvent(EventType type, AbstractGameObject first,
            ArrayList<AbstractGameObject> affected){
        this.type=type;
        this.firstObject=first;
        this.affectedObjects=affected;
    }

    public EventType getType(){
        return this.type;
    }
    
    public AbstractGameObject getFirstObject(){
        return this.firstObject;
    }

    public ArrayList<AbstractGameObject> getObjectList(){
        return this.affectedObjects;
    }

}
